<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>选择样衣</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="../css/bootstrap.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="../css/ionicons.min.css" rel="stylesheet" type="text/css" />


        <link href="../css/myself.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="../css/reset.css" />
        <link rel="stylesheet" href="../css/pagination.css" />
        <script type="text/javascript" src="../js/jquery-1.8.2.js"></script>
        <script type="text/javascript" src="../js/jquery.pagination.js"></script>
        <script type="text/javascript" src="../js/common.js"></script>
        <!-- Bootstrap -->
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <!-- Theme style -->
        <link href="../css/AdminLTE.css" rel="stylesheet" type="text/css" />
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="skin-blue">
        <!-- header logo: style can be found in header.less -->

        <div class="wrapper row-offcanvas row-offcanvas-left">
           <aside class="right-side">
           	<section class="content-header" style="position: relative;">
                    <h1>样衣库</h1>
               		<div class="pull-right" style="position: absolute; top: 10px; right: 10px;">
                    	<button type="button" class="btn btn-primary">新增样衣</button>
                   	</div>
            </section>
            <section class="content">
            	<div class="row">
            		<div class="col-md-12">
            			<div class="box">
            				<div class="box-header find-box">
                                <div class="pull-left find-row" style="padding-left: 10px;">
                                    <div class="pull-left find-col">

                                        <label class="pull-left">
                                            <select class="input-md" id="category" >
                                                <option value="">季节款式</option>

                                            </select>
                                        </label>
                                        <label class="pull-left">
                                            <select class="input-md">
                                                <option value="">性别</option>
                                                <option value="003">周经理</option>
                                            </select>
                                        </label>
                                        <label class="pull-left">
                                            <select class="input-md" id="level">
                                                <option value="">分类</option>
                                                <option value="003">销售3</option>
                                            </select>
                                        </label>
                                        <label class="pull-left">
                                            <input type="text" placeholder="输入订单号"/>
                                        </label>

                                        <div class="pull-left" style="margin-left: 5px;">
                                            <button type="button" class="btn btn-primary">搜索</button>
                                        </div>
                                    </div>
                                </div>
                            </div><!-- /.box-header -->


				            <div class="clearfix search-div center">
						       	<div class="clearfix content" style="padding: 0;">
                                    <div class="content_find"> <input type="checkbox" name="choth">

                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div> 
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                    <div class="content_find"> <input type="checkbox" name="choth">
                                        <div>
                                            <img src="../images/Design_draft_03.jpg">
                                        </div>
                                        <p>VNU201611100001<br/>气质 有型 女人味</p>

                                    </div>
                                </div>
						        <div class="tc"></div>
						        <div class="tc2">
                                    <button type="button" class="close" id="close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                    <div class="tc2_left">
                                        <p>上一款</p>
                                    </div>
                                    <div class="tc2_content1">
                                        <div class="tc2_content1_d1">
                                            样衣编号    VNB201611100001
                                        </div>
                                        <div class="tc2_content1_d2">
                                            <   1  /   5   >
                                        </div>
                                        <img src="../images/Design_draft_03.jpg">
                                    </div>

                                    <div class="tc2_content2">
                                        <div class="tc2_content2_d1">
                                            <p>
                                                <span>季节款式</span>
                                                <span>春款、夏款、秋款</span>
                                            </p>
                                            <p>
                                                <span>性别</span>
                                                <span>中性</span>
                                            </p>
                                            <p>
                                                <span>分类</span>
                                                <span>外套、大衣</span>
                                            </p>
                                            <p>
                                                <span>分类</span>
                                                <span>气质、有型、女人味</span>
                                            </p>
                                        </div>
                                        <div class="tc2_content2_d2">
                                            <span>样衣来源</span>
                                            <span>绍兴伍德纺织厂</span>
                                        </div>
                                        <div class="btn btn-primary tc2_btn">
                                            创建打样订单
                                        </div>
                                    </div>
                                    <div class="tc2_right">
                                        <p>下一款</p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="shopping clearfix" style="margin: 20px;">
                                    <!--<div class="shopCar">
                                        <div class="dropdown fl">
                                            <img id="dLabel" src="../images/ic_cloth.png" data-target="#" href="http://example.com" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                               <li><a href="#">adfasdf</a></li>

                                            </ul>
                                        </div>
                                    </div>-->
                                <div class="btn-group dropup" style="cursor: pointer;">
                                    <div class="glyphicon glyphicon-shopping-cart"> </div>
                                    <ul class="dropdown-menu2" id="shop_menu">
                                        <li class="clearfix">
                                            <div class="fl">
                                                <img src="../img/user2.jpg">
                                            </div>
                                            <div class="fl">
                                                <p>aaaaaaaaaaaaa</p>
                                                <p>气质 有型 女人味</p>
                                            </div>
                                            <div class="fr">
                                                <div class="red_circle">
                                                    <span></span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="clearfix">
                                            <div class="fl">
                                                <img src="../img/user2.jpg">
                                            </div>
                                            <div class="fl">
                                                <p>aaaaaaaaaaaaa</p>
                                                <p>气质 有型 女人味</p>
                                            </div>
                                            <div class="fr">
                                                <div class="red_circle">
                                                    <span></span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="clearfix">
                                            <div class="fl">
                                                <img src="../img/user2.jpg">
                                            </div>
                                            <div class="fl">
                                                <p>aaaaaaaaaaaaa11</p>
                                                <p>气质 有型 女人味</p>
                                            </div>
                                            <div class="fr">
                                                <div class="red_circle">
                                                    <span></span>
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            	<a href="YangYi_choose2.html"><button class="btn btn-primary fr">确定选择&nbsp; 下一步</button></a>
                            </div>
            			</div>
            		</div>
            	</div>
            </section>
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->
        <style type="text/css">
            .content_find{
                width: 19%;
                height: 311px;
                border:1px solid #ccc;
                float: left;
                margin-left: .5%;
                margin-top:10px;
                overflow: hidden;
                position: relative;
            }
            .content_find:hover{
                background-color: #212121;
                color: #fff;
                cursor: pointer;
            }
            .content_find>div{
                width: 100%;
                height: 78%;
                position: absolute;
                background-color: #fff;
            }
            .content_find>div>img{
                width: 90%;
                height: 90%;
                margin: 5% ;
            }
            .content_find>p{
                width: 100%;
                height: 20%;
                text-align: center;
                line-height: 200%;
                bottom: 1%;
                position: absolute;
            }
            .close{
                color: white;
                font-size: 45px;
                padding: 20px;
                z-index: 1400;
            }
            .tc{
                position: fixed;
                width: 100%;
                height: 100%;
                background-color: #000;
                opacity: .8;
                top: 0;
                left: 0;
                z-index: 1100;
                display: none;
            }
            .tc2{
                position: fixed;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                z-index: 1400;
                display: none;;
            }
            .tc2_left{
                width: 5%;
                max-width: 60px;
                height: 140px;
                border:1px solid #000;
                background-color: #fff;
                position: absolute;
                top: 200px;
                text-align: center;
                line-height: 20px;
                cursor: pointer;
                left: 5%;
            }
            .tc2_left>p:first-child{
                width:1em;
                margin: 30px auto;
            }
            .tc2_right{
                width: 5%;
                max-width: 60px;
                height: 140px;
                border:1px solid #000;
                background-color: #fff;
                position: absolute;
                top: 200px;
                text-align: center;
                line-height: 20px;
                cursor: pointer;
                right: 5%;
            }
            .tc2_right>p:first-child{
                width:1em;
                margin: 30px auto;
            }
            .tc2_content1{
                width: 45%;
                height:500px;
                background-color: #fff;
                top: 100px;
                left: 15%;
                position: absolute;
            }
            .tc2_content2{
                width: 25%;
                height:200px;
                background-color: #fff;
                top: 200px;
                left: 61%;
                position: absolute;
            }
            .tc2_content1_d1{
                width: 100%;
                height: 50px;
                line-height: 50px;
                background-color: #373f4d;
                color: #fff;
                padding-left: 120px;
            }
            .tc2_content1_d1>i{
                float: right;margin-right: 30px;
                line-height: 50px;
                cursor: pointer;
            }
            .tc2_content1>img{
                width: 100%;
                height: 450px;
                background-color: #fff;
            }
            .tc2_content1_d2{
                width: 90px;
                height: 30px;
                background-color: #5f6571;
                color: #fff;
                text-align: center;
                line-height: 30px;
                border-radius: 15px 0 0 15px;
                position: absolute;
                right: 0;
                top: 70px;
                font-weight: bold;
            }
            .tc2_content2_d1{
                width: 90%;
                height: 160px;
                margin: 20px auto;
                border-bottom: 1px dashed #ccc;
            }
            .tc2_content2_d1>p{
                width: 100%;
                height: 33px;
                line-height: 33px;
                margin-top: 5px;
            }
            .tc2_content2_d1>p>span{
                float: left;
                width: 60%;
            }
            .tc2_content2_d1>p>span:first-child{
                width: 30%;
                height: 33px;
                line-height: 33px;
                border:1px solid #000;
                text-align: center;
                max-width: 70px;
                margin-right: 10%;
            }
            .tc2_content2_d2{
                width: 90%;
                height: 30px;
                margin: 0px auto;
                line-height: 30px;
            }
             .tc2_content2_d2>span{
                float: left;
                width: 60%;
            }
            .tc2_content2_d2>span:first-child{
                width: 30%;
                text-align: center;
                max-width: 70px;
                margin-right: 10%;
            }
            .tc2_btn{
                margin: 20px 5%;
                width: 90%;
            }

            .shopping .dropdown-menu2{
                position: absolute;
                bottom: 130%;
                left: 0;
                display: none;
                z-index: 1000;
                float: left;
                min-width: 160px;
                padding: 5px 0;
                margin: 2px 0 0;
                font-size: 14px;
                list-style: none;
                background-color: #ffffff;
                border: 1px solid #cccccc;
                border: 1px solid rgba(0, 0, 0, 0.15);
                border-radius: 4px;
                -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
                box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
                background-clip: padding-box;
            }
            .shopping .dropdown-menu2 li img{width: 40px;height: 40px;display: block;}
            .shopping .dropdown-menu2 li{width: 200px;border-bottom: 1px #ccc solid;}
            .shopping .dropdown-menu2 li>div:first-child{width: 40px;}
            .shopping .dropdown-menu2 li>div:nth-child(2){padding:0 10px;}
            .shopping .dropdown-menu2 li>div:last-child{width: 30px;}
            .shopping .dropdown-menu2 li>div:last-child{ border-bottom: none;}
            .shopping .dropdown-menu2 li>div:last-child .red_circle{margin-top: 10px;}
            .shopping .dropdown-menu2 li>div:last-child .red_circle span{width: 11px;height: 3px;margin: auto;background: white;display: block;margin-top: 8px;}
            .content_find{position: relative;}
            .content_find input{position: absolute;right:5px;top: 5px;z-index: 99;}
            .glyphicon-shopping-cart{width: 30px;height:30px;font-size: 30px;color: red;}
        </style>
        <script type="text/javascript">
            $(document).ready(function(){
                $('.content_find img, .content_find p').click(function(){
                    $('.tc').show();
                    $('.tc2').show();

                });
                $("#close").click(function(){
                    $(".tc").hide();
                    $(".tc2").hide();
                });
                $(document).ready(function() {
                    $("#Pagination").pagination("15");
                });
                $(".glyphicon-shopping-cart").toggle(
                        function(){
                            $(".dropdown-menu2").fadeIn("show","linear");
                            return false;
                        },
                        function(){
                            $(".dropdown-menu2").fadeOut("show","linear");
                            return false;
                        }
                );
                $(".shopping .dropdown-menu2 .red_circle").click(function(){
                    $(this).parent().parent().remove();
                })
            });
            
            
            
            
            // 添加购物车
            var ContentFind = document.querySelectorAll('.content_find');
            var Checked = document.getElementsByName('choth');
            var shopEle = document.getElementById('#shop_menu');
            for(var i = 0; i <= Checked.length; i ++) {
            	
            	
            	if(Checked[i].checked == false) {
            		Checked[i].index = i;
            		Checked[this.index].onclick = function () {
            			
            			shopEle.prepend('<li class="clearfix"><div class="fl"><img src="../img/user2.jpg"></div><div class="fl"><p>aaaaaaaaaaaaa11</p><p>气质 有型 女人味</p></div><div class="fr"><div class="red_circle"><span></span></div></div></li>');	
            		
	            	
	            			
            		}
            	}
            	
            	
            		
            		
            
            	
            	
            }
        </script>
    </body>
</html>

